Skip to content

feat: socratic-code-theory-recovery Claude Code Skill (#473)#478

Merged
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/socratic-recovery-skill-473
May 13, 2026
Merged

feat: socratic-code-theory-recovery Claude Code Skill (#473)#478
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/socratic-recovery-skill-473

Conversation

@raifdmueller
Copy link
Copy Markdown
Contributor

@raifdmueller raifdmueller commented May 13, 2026

Closes #473

Summary

Packages the brownfield Socratic Code-Theory Recovery workflow as an installable Claude Code Skill at `skill/socratic-code-theory-recovery/`. Same packaging convention as the existing `semantic-anchor-translator` and `semantic-anchor-onboarding` skills.

Contents (9 files, 815 lines)

File Role
`SKILL.md` Frontmatter, when-to-use, two-phase workflow diagram, contract overview, what-can-and-can't-be-recovered, drift
`prompts/phase-1-question-tree.md` Copy-paste Phase 1 prompt + post-prompt sanity check + team-routing instructions
`prompts/phase-2-synthesize.md` Phase 2 prompt that produces PRD + Cockburn UCs + arc42 + Nygard ADRs with Q-ID traceability
`references/arc42.md` 12 arc42 sections as Q3 decomposition heuristic
`references/cockburn-use-cases.md` Fully Dressed fields as Q2 sub-questions, persona vs system use cases
`references/iso-25010.md` 8 quality characteristics as Q4 sub-questions, mechanism-vs-target split
`references/nygard-adrs.md` ADR fields as Q3.9 sub-tree, architecturally-significant decision criteria, Pugh matrix guidance
`references/output-schema.md` Strict format for `QUESTION_TREE.adoc` and `OPEN_QUESTIONS.adoc` — Q-ID scheme, `[ANSWERED]`/`[OPEN]` blocks, traceability
`references/examples.md` Worked `[ANSWERED]` and `[OPEN]` leaves for each major branch (Q1-Q5)

Reference snippets are embedded (per scope decision) rather than linked, so the skill is usable offline once installed.

Out of scope (deferred to follow-up issues)

  • End-to-end testing on a real codebase — pending a separate session against e.g. `dacli` or the Semantic-Anchors repo itself. The skill packages the same prompts that are already documented and rendered on the brownfield-workflow page, so the methodology has been exercised; only the skill-as-skill packaging is new.
  • Website integration — `docs/agentskill.adoc` currently focuses on the translator skill. A follow-up can add a section listing this skill once it has been validated end-to-end.

Test plan

  • Files follow the existing `skill//SKILL.md` + `references/` convention
  • `SKILL.md` frontmatter parses (`name`, `description`, `metadata`, `license`)
  • `npm run build` succeeds; all 90 unit tests pass
  • No markdown lint warnings on the new files
  • End-to-end test on a real brownfield codebase (separate follow-up)

🤖 Generated with Claude Code

Summary by CodeRabbit

Dokumentation

  • Dokumentation
    • Neue umfassende Dokumentation für den "Socratic Code-Theory Recovery"-Workflow hinzugefügt, einschließlich Anleitung, Phasen-Prompts und Referenzmaterialien für strukturierte Frage-Baum-Analyse und Dokumentationssynthese aus Codebasis.

Review Change Stack

…#473)

Package the brownfield Socratic Code-Theory Recovery workflow as an
installable Claude Code Skill.

Structure:
- SKILL.md — when-to-use, contract overview, two-phase workflow diagram
- prompts/phase-1-question-tree.md — copy-paste prompt for Phase 1, with
  post-prompt sanity-check and team-routing instructions
- prompts/phase-2-synthesize.md — Phase 2 prompt that consumes the
  answered tree and produces PRD + Cockburn use cases + arc42 + Nygard
  ADRs with full Q-ID traceability
- references/arc42.md — 12 sections as Q3 decomposition heuristic
- references/cockburn-use-cases.md — fields as Q2 sub-questions, persona
  vs system use cases
- references/iso-25010.md — 8 quality characteristics as Q4 sub-questions,
  with the mechanism-vs-target split
- references/nygard-adrs.md — ADR format as Q3.9 sub-tree, what makes a
  decision architecturally significant, Pugh matrix guidance
- references/output-schema.md — strict format for QUESTION_TREE.adoc and
  OPEN_QUESTIONS.adoc, including Q-ID scheme, [ANSWERED]/[OPEN] block
  formats, and Phase 2 traceability rules
- references/examples.md — worked [ANSWERED] and [OPEN] leaves for each
  major branch (Q1-Q5) from a hypothetical Order Management context

Reference snippets are embedded (per agreed scope) rather than linked, so
the skill is usable offline once installed.

End-to-end testing on a real codebase is deferred to a follow-up issue.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

Warning

Rate limit exceeded

@raifdmueller has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 34 minutes and 7 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: fa0627a4-aac5-45a6-8dd8-8db974f35699

📥 Commits

Reviewing files that changed from the base of the PR and between 9892136 and c57e929.

📒 Files selected for processing (12)
  • docs/agentskill.adoc
  • docs/agentskill.de.adoc
  • docs/brownfield-workflow.adoc
  • docs/brownfield-workflow.de.adoc
  • docs/socratic-recovery-skill.adoc
  • docs/socratic-recovery-skill.de.adoc
  • docs/spec-driven-workflow.adoc
  • docs/spec-driven-workflow.de.adoc
  • scripts/prerender-routes.js
  • scripts/render-docs.js
  • website/src/main.js
  • website/src/utils/router.js

Walkthrough

Diese Pull Request führt die neue Claude Code Skill socratic-code-theory-recovery ein, die einen zweiphasigen Workflow zur systematischen Wiederherstellung von Architektur- und Spezifikationsdokumentation aus Brownfield-Code implementiert. Die Skill nutzt semantische Ankerpunkte (arc42, Cockburn Use Cases, ISO 25010, Nygard ADRs), um eine hierarchische Fragen-Taxonomie zu konstruieren, code-abgeleitete Fakten von offenen Team-Fragen zu unterscheiden und schließlich Q-ID-traceierbare Dokumentation zu synthetisieren.

Changes

Socratic Code-Theory Recovery Skill

Layer / File(s) Zusammenfassung
Skill-Definition und Anwendungsbereich
skill/socratic-code-theory-recovery/SKILL.md
Zentrale Skill-Dokumentation mit Metadaten, Anwendungskriterien (Wann/Wann-nicht-verwenden), zweiphasige Workflow-Struktur, Regeln für code-ableitbare vs. nicht-ableitbare Behauptungen, Anleitung zur Spec-Drift-Reconciliation und Referenzmaterialien.
Phase 1: Frage-Hierarchie mit Decomposition Guides
skill/socratic-code-theory-recovery/prompts/phase-1-question-tree.md, skill/socratic-code-theory-recovery/references/arc42.md, skill/socratic-code-theory-recovery/references/cockburn-use-cases.md, skill/socratic-code-theory-recovery/references/iso-25010.md, skill/socratic-code-theory-recovery/references/nygard-adrs.md
Phase 1 Prompt orchestriert rekursive Zersetzung von Q1–Q5 unter Verwendung von arc42 (Q3.1–Q3.12), Cockburn Use Cases (Q2), ISO 25010 (Q4) und Nygard ADRs (Q3.9) als Zerlegungsvorlagen. Leaves werden als [ANSWERED] (mit Code-Evidenz) oder [OPEN] (mit Kategorie/Ask-Rolle) klassifiziert. Produces QUESTION_TREE.adoc und OPEN_QUESTIONS.adoc.
Output-Schema und Worked Examples
skill/socratic-code-theory-recovery/references/output-schema.md, skill/socratic-code-theory-recovery/references/examples.md
Output-Schema definiert AsciiDoc-Struktur für QUESTION_TREE (hierarchisch, Q-ID-getrieben) und OPEN_QUESTIONS (rollen-gruppiert mit *Your answer:*-Blöcken). Worked Examples zeigen Order-Management-Szenario mit [ANSWERED]-Leaves (Code-Evidenz-Zitate) und [OPEN]-Leaves (Ask-Rollen), Patterns-to-Copy Regeln für Evidence, Ein-Behauptung-pro-Leaf und Sizing.
Phase 2: Dokumentationssynthese mit Traceability
skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md
Phase 2 Prompt synthesisiert PRD, Cockburn Use Cases, arc42-Kapitel und ADRs aus der beantworteten Question Tree mit strikter Q-ID-Traceability, Team-Answer-Markierungen und Vermeidung von Erfindungen. Includes Post-Phase-Operationen für Spec-Drift-Detektion und inkrementale Bounded-Context-Erweiterung.

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant Phase1 as Phase 1
  participant Team
  participant Phase2 as Phase 2
  participant Docs as Output
  
  User->>Phase1: Brownfield code
  Phase1->>Phase1: Decompose with guides
  Phase1-->>User: QUESTION_TREE.adoc
  Phase1-->>User: OPEN_QUESTIONS.adoc
  User->>Team: Distribute to roles
  Team-->>User: Completed answers
  User->>Phase2: Answered tree
  Phase2->>Phase2: Synthesize docs
  Phase2-->>Docs: PRD, Use Cases, arc42, ADRs
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • LLM-Coding/Semantic-Anchors#455: Dokumentiert den Brownfield-Workflow und die Socratic Code-Theory Recovery Zweiph­asen-Struktur, die direkt mit Phase 1/Phase 2 Prompts und dem Schema dieser PR übereinstimmt.
  • LLM-Coding/Semantic-Anchors#454: Diese PR registriert die socratic-code-theory-recovery Skill und cockburn-use-cases Anker im Website-Katalog als Gegenstück zur Skill-Definition in dieser PR.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Der Titel beschreibt prägnant die Hauptänderung: Installation eines neuen Claude Code Skills für die Socratic Code-Theory Recovery.
Linked Issues check ✅ Passed Die PR erfüllt alle aus Issue #473 geforderten Anforderungen: SKILL.md mit Metadaten, Prompts (Phase 1 & 2), Referenzmaterialien, Ausgabeschema und Beispiele.
Out of Scope Changes check ✅ Passed Alle geänderten Dateien sind relevant für das Skill-Paket; keine Out-of-Scope-Änderungen identifiziert.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (3)
skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md (1)

5-62: ⚡ Quick win

Prompt-Codeblock mit Sprache markieren (MD040)

Der Fence ab Line 5 hat keine Sprachkennung. text genügt und hält die Lint-Pipeline sauber.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md` around
lines 5 - 62, The fenced code block in phase-2-synthesize.md starting with ```
(the Phase 2 prompt block) lacks a language tag causing MD040; change the
opening fence from ``` to ```text to mark the block language, keeping the block
content unchanged so the lint pipeline passes and the file still renders
identically.
skill/socratic-code-theory-recovery/references/output-schema.md (1)

73-77: ⚡ Quick win

Fenced Code Blöcke mit Sprache taggen (MD040)

Die Fences ab Line 73, Line 86 und Line 146 haben keine Sprachkennung. Das erzeugt Lint-Warnungen und vermeidbare CI-Noise.

✅ Minimaler Fix
-```
+```text
 [ANSWERED]
 Evidence: <file>:<line>[, <file>:<line> ...]
 <one to three sentences describing the answer>

- +text
[OPEN]
Category: <one of: business-context | design-rationale | quality-goals | stakeholder-context | future-direction>
Ask role: <one or more of: Product Owner | Architect | Developer | Domain Expert | Operations>
<one to three sentences stating precisely what cannot be answered, and why the code is silent on it>


-```
+```text
The system uses Hexagonal Architecture [Q3.9.HexagonalArchitecture]. Sessions
expire after 24 hours (team answer, Q3.8.Security.SessionLifetime).
Quality-goal priorities are deferred (Q4.0.deferred) and must be resolved
before the next release.
</details>
 


Also applies to: 86-91, 146-151

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @skill/socratic-code-theory-recovery/references/output-schema.md around lines
73 - 77, Die Markdown-Fenced-Code-Blöcke for responses (the blocks containing
"[ANSWERED]", "[OPEN]" and the example paragraph) lack a language tag which
triggers MD040; update each triple-backtick fence used for output examples so
they include the "text" tag (i.e., change totext) for the blocks showing
"[ANSWERED]", "[OPEN]" and the final illustrative paragraph in output-schema.md;
keep the block contents unchanged and make sure every similar example fence in
that file (the three instances flagged) is updated.


</details>

</blockquote></details>
<details>
<summary>skill/socratic-code-theory-recovery/references/examples.md (1)</summary><blockquote>

`9-15`: _⚡ Quick win_

**Alle Example-Fences mit Sprachkennung versehen (MD040)**

Die ungetaggten Fences verursachen durchgehend markdownlint-Warnungen. Hier reicht ein mechanischer Fix (`text` oder `asciidoc`) für alle Blöcke.

 


Also applies to: 19-26, 32-38, 42-53, 57-70, 76-87, 91-99, 105-111, 115-124, 128-136, 142-149, 153-163, 169-176, 180-188

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @skill/socratic-code-theory-recovery/references/examples.md around lines 9 -
15, Multiple fenced code blocks in examples.md are missing language identifiers
causing markdownlint MD040 warnings; update each triple-backtick fence (e.g.,
the block containing "[ANSWERED] Evidence: src/auth/Role.java:8 ..." and the
other listed example blocks) to include a language tag such as "text" or
"asciidoc" (for example change totext) so all fences are tagged
consistently and the MD040 warnings are resolved.


</details>

</blockquote></details>

</blockquote></details>

<details>
<summary>🤖 Prompt for all review comments with AI agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md:

  • Around line 53-57: Vereinheitliche die Q-ID-Notation auf das eckige
    Klammerformat für alle Referenzen: ersetze occurrences of the parenthetical form
    "(team answer, Q3.4.2)" und ähnliche mit konsistenten bracket-Notationen like
    "[team answer, Q3.4.2]" und passe die Beispielzeilen so alle
    Paragraph-Referenzen, Team-supplied facts und deferred questions das gleiche
    zitierbare Format "[...]" verwenden; aktualisiere die drei Beispiele in der
    Sektion (die Zeilen mit "The system uses Hexagonal Architecture [Q3.5].",
    "Sessions expire after 24 hours (team answer, Q3.4.2)." und "Deferred questions
    ...") so sie einheitlich "[Q...]" bzw. "[team answer, Q...]" nutzen.

In @skill/socratic-code-theory-recovery/references/output-schema.md:

  • Around line 75-82: The Evidence syntax is defined inconsistently in the
    "Evidence:" section (the Evidence: header and the surrounding bullets), causing
    conflicting rules at the spots corresponding to the examples near lines 75 and
    81; consolidate into a single canonical, machine-checkable grammar entry (e.g.,
    an "Evidence syntax" subsection) and update the existing statements to reference
    that single canonical grammar; ensure the canonical grammar explicitly lists
    allowed forms (file:line, file::function, file) and the requirement that
    Evidence is mandatory, remove the duplicate/contradictory wording in the earlier
    "Evidence:" paragraph, and update any sample lines to use the canonical form so
    the generator/parser reads only one authoritative definition.

Nitpick comments:
In @skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md:

  • Around line 5-62: The fenced code block in phase-2-synthesize.md starting with
opening fence from ``` to ```text to mark the block language, keeping the block
content unchanged so the lint pipeline passes and the file still renders
identically.

In `@skill/socratic-code-theory-recovery/references/examples.md`:
- Around line 9-15: Multiple fenced code blocks in examples.md are missing
language identifiers causing markdownlint MD040 warnings; update each
triple-backtick fence (e.g., the block containing "[ANSWERED] Evidence:
src/auth/Role.java:8 ..." and the other listed example blocks) to include a
language tag such as "text" or "asciidoc" (for example change ``` to ```text) so
all fences are tagged consistently and the MD040 warnings are resolved.

In `@skill/socratic-code-theory-recovery/references/output-schema.md`:
- Around line 73-77: Die Markdown-Fenced-Code-Blöcke for responses (the blocks
containing "[ANSWERED]", "[OPEN]" and the example paragraph) lack a language tag
which triggers MD040; update each triple-backtick fence used for output examples
so they include the "text" tag (i.e., change ``` to ```text) for the blocks
showing "[ANSWERED]", "[OPEN]" and the final illustrative paragraph in
output-schema.md; keep the block contents unchanged and make sure every similar
example fence in that file (the three instances flagged) is updated.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 085a6ce7-9587-42bb-8f4d-eeadc354110e

📥 Commits

Reviewing files that changed from the base of the PR and between cb9abbe and 9892136.

📒 Files selected for processing (9)
  • skill/socratic-code-theory-recovery/SKILL.md
  • skill/socratic-code-theory-recovery/prompts/phase-1-question-tree.md
  • skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md
  • skill/socratic-code-theory-recovery/references/arc42.md
  • skill/socratic-code-theory-recovery/references/cockburn-use-cases.md
  • skill/socratic-code-theory-recovery/references/examples.md
  • skill/socratic-code-theory-recovery/references/iso-25010.md
  • skill/socratic-code-theory-recovery/references/nygard-adrs.md
  • skill/socratic-code-theory-recovery/references/output-schema.md

Comment on lines +53 to +57
- Every paragraph references the Q-IDs that support it, in square brackets:
"The system uses Hexagonal Architecture [Q3.5]."
- Team-supplied facts get an inline marker: "Sessions expire after 24 hours
(team answer, Q3.4.2)."
- Deferred questions stay as explicit gaps: "Quality-goal priorities are
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Q-ID-Notation für Traceability vereinheitlichen

Line 53-54 verlangt Q-IDs in [], aber Line 55-56 nutzt (team answer, Q3.4.2). Für robuste, automatisierbare Traceability sollte ein einziges zitierbares Format gelten (z. B. immer [...], inkl. Team-Answer-Marker).

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skill/socratic-code-theory-recovery/prompts/phase-2-synthesize.md` around
lines 53 - 57, Vereinheitliche die Q-ID-Notation auf das eckige Klammerformat
für alle Referenzen: ersetze occurrences of the parenthetical form "(team
answer, Q3.4.2)" und ähnliche mit konsistenten bracket-Notationen like "[team
answer, Q3.4.2]" und passe die Beispielzeilen so alle Paragraph-Referenzen,
Team-supplied facts und deferred questions das gleiche zitierbare Format "[...]"
verwenden; aktualisiere die drei Beispiele in der Sektion (die Zeilen mit "The
system uses Hexagonal Architecture [Q3.5].", "Sessions expire after 24 hours
(team answer, Q3.4.2)." und "Deferred questions ...") so sie einheitlich
"[Q...]" bzw. "[team answer, Q...]" nutzen.

Comment on lines +75 to +82
Evidence: <file>:<line>[, <file>:<line> ...]
<one to three sentences describing the answer>
```

- **Evidence is mandatory.** No exception. A claim without evidence is `[OPEN]`, not `[ANSWERED]`.
- File paths are relative to the bounded context root.
- Use `file:line` for a specific line, `file::function` for a function regardless of line drift, `file` for a whole-file claim.
- Keep the prose factual. The answer is the *what*; the *why* belongs in a separate `[OPEN]` leaf if it isn't in the code.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Evidence-Format konsistent und eindeutig machen

Line 75 und Line 81 definieren unterschiedliche zulässige Evidence-Syntax. Für „machine-checkable“ sollte die erlaubte Grammatik an genau einer Stelle vollständig und widerspruchsfrei stehen, sonst laufen Generator und Parser auseinander.

🔧 Vorschlag zur Vereinheitlichung
-[ANSWERED]
-Evidence: <file>:<line>[, <file>:<line> ...]
+[ANSWERED]
+Evidence: <ref>[, <ref> ...]
 <one to three sentences describing the answer>
-- Use `file:line` for a specific line, `file::function` for a function regardless of line drift, `file` for a whole-file claim.
+- `ref` must be one of: `file:line`, `file::function`, or `file`.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skill/socratic-code-theory-recovery/references/output-schema.md` around lines
75 - 82, The Evidence syntax is defined inconsistently in the "Evidence:"
section (the Evidence: header and the surrounding bullets), causing conflicting
rules at the spots corresponding to the examples near lines 75 and 81;
consolidate into a single canonical, machine-checkable grammar entry (e.g., an
"Evidence syntax" subsection) and update the existing statements to reference
that single canonical grammar; ensure the canonical grammar explicitly lists
allowed forms (file:line, file::function, file) and the requirement that
Evidence is mandatory, remove the duplicate/contradictory wording in the earlier
"Evidence:" paragraph, and update any sample lines to use the canonical form so
the generator/parser reads only one authoritative definition.

)

Companion to the skill package itself:

- New page docs/socratic-recovery-skill.adoc (EN+DE) with per-tool
  installation instructions for Claude Code, Codex, Cursor, GitHub Copilot,
  Gemini CLI, and Amazon Kiro. Same per-tool pattern as agentskill.adoc.
- Wire the new page through scripts/render-docs.js, scripts/prerender-routes.js,
  website/src/main.js (renderSocraticRecoverySkillPage), and the route
  title map in website/src/utils/router.js. Reachable at
  /socratic-recovery-skill in both languages.
- Add a [TIP] pointer from docs/brownfield-workflow.adoc (EN+DE) Phase 0.5
  to the new skill page so users who reach the workflow find the install
  path immediately.
- Add a "See also" entry to docs/agentskill.adoc (EN+DE) so the existing
  AgentSkill page also surfaces the new skill.
- Add a [NOTE] callout at the top of docs/spec-driven-workflow.adoc (EN+DE)
  pointing brownfield users to the Brownfield Workflow and the skill —
  previously brownfield was only discoverable at the very bottom of the
  greenfield page.

Build now pre-renders 14 routes (was 13).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rdmueller rdmueller merged commit 6f4c7ab into LLM-Coding:main May 13, 2026
7 checks passed
rdmueller added a commit that referenced this pull request May 14, 2026
fix: sync socratic-code-theory-recovery skill into plugin bundle (follow-up to #478)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: installable Claude Code Skill for the Brownfield workflow

2 participants